
CPP_FILES := $(wildcard private/*.cpp)
OBJ_FILES := $(addprefix obj/,$(notdir $(CPP_FILES:.cpp=.o)))
OBJ_FILES := $(patsubst private/%.cpp,obj/%.o,$(CPP_FILES))
LD_FLAGS := -lpthread -lrt -shared
CC_FLAGS :=



#if removed tetklata !!
#OBJ_FILES := $(CPP_FILES:.cpp=.o)


all: pushframework

pushframework: $(OBJ_FILES)
#	dmc -HF private/StdAfx.h
	g++ $(LD_FLAGS) $(OBJ_FILES) -o output/pushframework


#pushframework.exe: $(OBJ_FILES)
#	g++ $(LD_FLAGS) $(OBJ_FILES) -o $@ $<


obj/%.o: private/%.cpp
	g++ $(CC_FLAGS) -c -o $@ $<

clean:
	rm -f obj/*.o core output/*


rebuild: clean build
